package com.dingwen.treasure.business.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 　OperationLogDTO
 * 　@author dingwen
 * 　@date 2022/6/24
 */
@ApiModel(value = "OperationLogDTO", description = "系统操作日志数据传输对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder
public class OperationLogDto implements Serializable {


    private static final long serialVersionUID = -8896736755625344971L;


    /**
     * 所属系统模块
     */
    @ApiModelProperty(value = "所属系统模块")
    private String module;


    /**
     * 全类名
     */
    @ApiModelProperty(value = "全类名")
    private String fullClassName;

    /**
     * 方法名
     */
    @ApiModelProperty(value = "方法名")
    private String methodName;


    /**
     * 请求参数
     */
    @ApiModelProperty(value = "请求参数")
    private String request;

    /**
     * 资源名称
     */
    @ApiModelProperty(value = "资源名称")
    private String resourceName;

    /**
     * 业务主键
     */
    @ApiModelProperty(value = "业务主键")
    private String businessId;


    /**
     * 操作类型
     */
    @ApiModelProperty(value = "操作类型")
    private String operateType;

    @ApiModelProperty(value = "详细信息")
    private String detail;

    /**
     * 操作时间
     */
    @ApiModelProperty(value = "操作时间")
    private String operateTime;

}


